package app.authorization.dto;

import lombok.Data;
import lombok.ToString;

import java.io.Serializable;

@Data
@ToString
public class MemberIdentity implements Serializable {
    private static final long serialVersionUID = -845853004787453605L;
    private Integer id;

    private Integer memberId;

    private Long mob;

    private String accountName ;

    private Integer userId;

    private String password;

    private String mac;

    private String deviceId;

    private String usermark;

    private String appId;

    private Long createTime  ;

    private Long modifyTime  ;

    private String portalWxOpenid;

    private String portalWxMsgOpenid;

    private String appWxOpenid;

    /**
     * 注册来源
     */
    private String registSource;

    /**
     * app推送的设备识别码
     */
    private String deviceToken;

    private String unionid;

    private String appType;

    private Integer isAppLogin;

    /**
     * 是否只是微信公众号扫描登录的会员
     */
    private Integer isScanLoginMember;

    //操作系统名称
    private String osName;

    private String miniAppOpenid;

    /**
     * @return id
     */
    public Integer getId() {
        return id;
    }

    /**
     * @param id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * @return member_id
     */
    public Integer getMemberId() {
        return memberId;
    }

    /**
     * @param memberId
     */
    public void setMemberId(Integer memberId) {
        this.memberId = memberId;
    }

    /**
     * @return mob
     */
    public Long getMob() {
        return mob;
    }

    /**
     * @param mob
     */
    public void setMob(Long mob) {
        this.mob = mob;
    }

    /**
     * @return account_name
     */
    public String getAccountName() {
        return accountName;
    }

    /**
     * @param accountName
     */
    public void setAccountName(String accountName) {
        this.accountName = accountName;
    }

    /**
     * @return user_id
     */
    public Integer getUserId() {
        return userId;
    }

    /**
     * @param userId
     */
    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    /**
     * @return password
     */
    public String getPassword() {
        return password;
    }

    /**
     * @param password
     */
    public void setPassword(String password) {
        this.password = password;
    }

    /**
     * @return mac
     */
    public String getMac() {
        return mac;
    }

    /**
     * @param mac
     */
    public void setMac(String mac) {
        this.mac = mac;
    }

    /**
     * @return device_id
     */
    public String getDeviceId() {
        return deviceId;
    }

    /**
     * @param deviceId
     */
    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId;
    }

    /**
     * @return usermark
     */
    public String getUsermark() {
        return usermark;
    }

    /**
     * @param usermark
     */
    public void setUsermark(String usermark) {
        this.usermark = usermark;
    }

    /**
     * @return app_id
     */
    public String getAppId() {
        return appId;
    }

    /**
     * @param appId
     */
    public void setAppId(String appId) {
        this.appId = appId;
    }

    /**
     * @return create_time
     */
    public Long getCreateTime() {
        return createTime;
    }

    /**
     * @param createTime
     */
    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }

    /**
     * @return modify_time
     */
    public Long getModifyTime() {
        return modifyTime;
    }

    /**
     * @param modifyTime
     */
    public void setModifyTime(Long modifyTime) {
        this.modifyTime = modifyTime;
    }

    /**
     * @return portal_wx_openid
     */
    public String getPortalWxOpenid() {
        return portalWxOpenid;
    }

    /**
     * @param portalWxOpenid
     */
    public void setPortalWxOpenid(String portalWxOpenid) {
        this.portalWxOpenid = portalWxOpenid;
    }

    /**
     * @return app_wx_openid
     */
    public String getAppWxOpenid() {
        return appWxOpenid;
    }

    /**
     * @param appWxOpenid
     */
    public void setAppWxOpenid(String appWxOpenid) {
        this.appWxOpenid = appWxOpenid;
    }

    /**
     * 获取注册来源
     *
     * @return regist_source - 注册来源
     */
    public String getRegistSource() {
        return registSource;
    }

    /**
     * 设置注册来源
     *
     * @param registSource 注册来源
     */
    public void setRegistSource(String registSource) {
        this.registSource = registSource;
    }

    /**
     * 获取app推送的设备识别码
     *
     * @return device_token - app推送的设备识别码
     */
    public String getDeviceToken() {
        return deviceToken;
    }

    /**
     * 设置app推送的设备识别码
     *
     * @param deviceToken app推送的设备识别码
     */
    public void setDeviceToken(String deviceToken) {
        this.deviceToken = deviceToken;
    }

    /**
     * @return unionid
     */
    public String getUnionid() {
        return unionid;
    }

    /**
     * @param unionid
     */
    public void setUnionid(String unionid) {
        this.unionid = unionid;
    }

    /**
     * @return app_type
     */
    public String getAppType() {
        return appType;
    }

    /**
     * @param appType
     */
    public void setAppType(String appType) {
        this.appType = appType;
    }

    /**
     * @return is_app_login
     */
    public Integer getIsAppLogin() {
        return isAppLogin;
    }

    /**
     * @param isAppLogin
     */
    public void setIsAppLogin(Integer isAppLogin) {
        this.isAppLogin = isAppLogin;
    }

    public String getMiniAppOpenid() {
        return miniAppOpenid;
    }

    public void setMiniAppOpenid(String miniAppOpenid) {
        this.miniAppOpenid = miniAppOpenid;
    }
}